#include <iostream>
#include <cmath>

#include <boost/chrono.hpp>

using namespace std;

//typedef boost::chrono::system_clock Clock;
typedef boost::chrono::steady_clock Clock;

int main()
{
   Clock::time_point start = Clock::now();
   cout << start << endl;

   for(long i=0; i< 10000000; i++)
      sqrt(123.456L);

   Clock::time_point end = Clock::now();
   cout << end << endl;

   Clock::duration sec = end - start;
   cout << "took " << sec.count() << " seconds\n";

typedef boost::chrono::time_point<boost::chrono::steady_clock, boost::chrono::duration<double, boost::ratio<3600> > > T;
    T tp = boost::chrono::steady_clock::now();
    std::cout << tp << '\n';

   return 0;
}
